<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <title>Document</title>

    <link rel="stylesheet" href="../resources/amaze-full/css/amazeui.custom.min.css">
    <link rel="stylesheet" href="../resources/css/assess.css">
</head>
<body>
 <!--头部-->

    <div class="dindex-wrap">

        <div class="ref-top  block" id="shopinfo"></div>

        <script type="text/html" id="shopinfotpl">
            <div class="img-box">
                <img src="<%=#imgFormat(data.shop.logoUrl,'261x44.png')%>">
            </div>
            <div class="info-box" id="shopinfo">
                
                <p class="title"><%=data.shop.name%>
                <img src="../resources/images//icon/icon_approve.png" alt="">
                </p>
                <p>店铺等级：<%=data.shop.levelId%></p>
                <p>主营产品：<%=data.shop.shopPro%></p>

            </div>
            
            <% if(!data.shop.shopInFav) { %>
                <a href="" class="btn"><i class="am-icon-star-o"></i>收藏店铺</a>
            <%}%>

            </script>

        
        <div class="nav">
           <div class="block" id="urllist">
                
           </div>
           <script type="text/html" id="urllisttpl">
                    <% for (var i = 0 ; i < data.widgetData.length; i++) {%>
                        <a href="<%=data.widgetData[i].linkUrl%>"><%=data.widgetData[i].name%></a>
                    <%}%>
           </script>
        </div>
        <div class="banner">
            <img src="../resources/images//banner_4.png">
        </div>
        <div class="coupon-box block" id="couponlist">
            
        </div>

        <script type="text/html" id="couponlisttpl">

            <% for (var i = 0 ; i < data.shopCoupons.length; i++) {%>
                       
                <a href=""><img src="../resources/images//coupon_100.png"></a>

            <%}%>
            
        </script>

        <div class="rec-box">
            <div class="block" id="recgoodslist"></div>
            <script type="text/html" id="recgoodslisttpl">

                <p class="title">商家推荐</p>
                <% for (var i = 0 ; i< data.recGoods.length; i++) {%>
                  <div class="item-box">
                    <a href="">
                        <div class="img-box">
                            <img src=data-lazyload="<%=#imgFormat(data.recGoods[i].iconUrl,'381x287.png')%>" alt="" />
                        </div>
                        <div class="txt-box">
                            <p class="t-title"><%=data.recGoods[i].name%></p>
                            <p class="info"><%=dateFormatHelp(data.recGoods[i].licenseDate,'YYYY')%>年上牌 ｜<%=data.recGoods[i].driverMileage%>万公里</p>
                            <p class="bottom"><span class="money"><i>¥</i><%=moneyFormat(data.recGoods[i].goodsPrice,2)%>万</span>｜定金：<%=data.recGoods[i].promiseAmount%>元 <span class="btn">立即抢购</span></p>
                        </div>
                    </a>
                </div>    
                <%}%>
            </script>
        </div>
        <div class="all-list block" id="itemlist"></div>

            <script type="text/html" id="itemlisttpl">
                
                <% for (var i = 0 ; i < data.rows.length; i++) { %>

                <div class="item">
                <div class="img-box">
                    <img src=data-lazyload="<%=#imgFormat(data.rows[i].iconUrl,'280x210.png')%>" alt="" />
                    <div class="pop">
                        <span><i class="am-icon-star-o __web-inspector-hide-shortcut__"></i>点击收藏</span>
                        <span><i class="am-icon-plus-circle"></i>加入对比</span>
                    </div>
                </div>
                <div class="txt-box">
                    <a href="">
                        <p class="title"><%=data.rows[i].name%></p>
                        <p class="info"><%=dateFormatHelp(data.rows[i].licenseDate,'YYYY')%>年上牌 ｜<%=data.rows[i].driverMileage%>万公里</p>
                        <p class="money"><span class="all"><i>¥</i><%=data.rows[i].maxPrice%>万</span>｜定金：<%=data.rows[i].promiseAmount%>元</p> 
                    </a>
                </div>
                </div>

                <%}%>

                

            </script>

            <ul class="am-pagination"></ul>
    </div>

  <div class="am-modal am-modal-no-btn" tabindex="-1" id="pop-modal">
      <div class="am-modal-dialog">
        <div class="am-modal-bd">
        </div>
      </div>
    </div>

<script src="../resources/js/module/jquery-1.11.0.js"></script>
<script src="../resources/js/module/template-native.js"></script>
<script src="../resources/js/module/urlparas.js"></script>
<script src="../resources/js/module/jquery.lazyload.js"></script>
<script src="../resources/js/module/holder.min.js"></script>
<script src="../resources/js/module/jquery.cookie.js"></script>
<script src="../resources/js/module/jquery.downCount.js"></script>
<script src="../resources/js/module/jquery.page.js"></script>
<script src="../resources/js/module/jquery.slideunlock.js"></script>
<script src="../resources/js/module/masonry.pkgd.min.js"></script>
<script src="../resources/js/module/moment-with-locales.min.js"></script>
<script src="../resources/js/module/simple-calendar.js"></script>
<script src="../resources/js/module/tinyscrollbar.js"></script>
<script src="../resources/js/module/webuploader.js"></script>
<script src="../resources/js/module/webuploader.min.js"></script>
<script src="../resources/js/module/validator.js"></script>
<script src="../resources/amaze-full/js/amazeui.custom.js"></script>
<script src="../resources/js/common.js"></script>
<script src="../resources/js/tplCommon.js"></script>
<!-- 页面配置 -->
<script src="../resources/js/config/config.js"></script>
<script src="../resources/js/shop.js"></script>
</body>
</html>